.doctor-list-page {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.doctor-list-page h2 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

/* 搜索表单样式 */
.search-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}

.form-group input,
.form-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.search-btn,
.reset-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-btn {
    background: #007bff;
    color: white;
}

.search-btn:hover {
    background: #0056b3;
}

.reset-btn {
    background: #6c757d;
    color: white;
}

.reset-btn:hover {
    background: #545b62;
}

/* 医生列表样式 */
.doctor-list {
    margin-bottom: 30px;
}

.list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.doctor-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.doctor-info h3 {
    color: #007bff;
    margin: 0 0 15px 0;
    font-size: 18px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.doctor-info p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.doctor-info p:first-of-type {
    font-weight: 600;
    color: #333;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid #007bff;
    background: white;
    color: #007bff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background: #007bff;
    color: white;
}

.pagination button:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.pagination span {
    font-weight: 600;
    color: #333;
}

/* 加载和错误状态 */
.loading {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #666;
}

.error {
    text-align: center;
    padding: 50px;
    color: #dc3545;
}

.error button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.no-data {
    text-align: center;
    padding: 50px;
    color: #666;
    font-style: italic;
}

/* 调试信息样式 */
.debug-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #e9ecef;
}

.debug-info h3 {
    margin-top: 0;
    color: #666;
    font-size: 16px;
}

.debug-info pre {
    background: white;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 12px;
    color: #333;
    border: 1px solid #ddd;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .list-container {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-btn,
    .reset-btn {
        width: 200px;
    }
}

